<template>
  <div class="demo">
    <div class="demo-title">向上展开</div>
    <div class="demo-content">
      <Mentions v-model:value="value" placement="top">
        <Mentions.Option value="afc163">afc163</Mentions.Option>
        <Mentions.Option value="zombieJ">zombieJ</Mentions.Option>
        <Mentions.Option value="yesmeck">yesmeck</Mentions.Option>
      </Mentions>
    </div>
  </div>
</template>

<script lang="ts" setup>
  import { ref } from 'vue';
  import Mentions from '@sscd/mentions';
  const value = ref<string>('');
</script>

<style lang="less" scoped>
  .demo {
    padding-top: 100px;
  }
</style>
